﻿using System;
using System.Collections;

/**
 * 作者：陈杰
 * QQ  : 710782046
 * Email:ovenjackchain@gmail.com
 * Web :http://www.qidian10.com
 */ 
namespace Model
{

   public class newsInfo
   {
      #region 构造函数
      public newsInfo()
      {}

      public newsInfo(int newsid,string newstitle,string newscontent,string newstime,string newsowner,string newsdesc,string newclassify)
      {
         this._newsid=newsid;
         this._newstitle=newstitle;
         this._newscontent=newscontent;
         this._newstime=newstime;
         this._newsowner=newsowner;
         this._newsdesc=newsdesc;
         this._newsclassify = newclassify;
      }
      #endregion

      #region 成员
      private int _newsid;
      private string _newsclassify;
      private string _newstitle;
      private string _newscontent;
      private string _newstime;
      private string _newsowner;
      private string _newsdesc;
      #endregion


      #region 属性
      public  int newsid
      {
         get {  return _newsid; }
         set {  _newsid = value; }
      }

      public string newsclassify
      {
          get { return _newsclassify; }
          set { _newsclassify = value; }
      }

      public  string newstitle
      {
         get {  return _newstitle; }
         set {  _newstitle = value; }
      }

      public  string newscontent
      {
         get {  return _newscontent; }
         set {  _newscontent = value; }
      }

      public  string newstime
      {
         get {  return _newstime; }
         set {  _newstime = value; }
      }

      public  string newsowner
      {
         get {  return _newsowner; }
         set {  _newsowner = value; }
      }

      public  string newsdesc
      {
         get {  return _newsdesc; }
         set {  _newsdesc = value; }
      }

      #endregion
       //返回自动增长的ID
      private string ReturnAutoID()
      {
          return "newsid";
      }
   }
}
